package szhn.mapper;

import org.apache.ibatis.annotations.Param;

import szhn.model.UserModel;

public interface UserMapper {
	/**
	 * 根据用户名查询用户
	 * @param username
	 * @return UserModel
	 */
	UserModel getUserByUsername(@Param("username") String username);
	
	/**
	 * 修改密码
	 * @param username
	 * @param password
	 */
	void modifyPassword(@Param("username") String username, @Param("password") String password);
}
